package top.lemna.generator;

import java.io.File;
import java.io.IOException;
import java.util.List;
import java.util.Map;

import org.junit.Before;
import org.junit.Test;

import freemarker.template.TemplateException;

public class GeneratorBySqlTest2 {
	
	@Test
	public void testGeneratorStringStringStringString() {
		


		GeneratorBySql generator = new GeneratorBySql();
		String basePackage = "com";
		String templatePath = "C:\\workspace\\SpringBootCodeGenerator\\SpringBootCodeGenerator\\SpringBootCodeGenerator\\generator-web\\src\\main\\resources\\若依模板";
		String outPath = "D:/hu/c1";
		String sqlFile = "D:/hu/c1.sql";
		 
		generator.generator(basePackage, templatePath, outPath, sqlFile);
	}
 
}
